<template>
    <n-avatar v-if="src"
              v-bind="$attrs"
         :src="checkURL(src)?src:src" />
</template>

<script setup lang="ts">

import {checkURL} from "@/utils";


defineProps({
  src: {
    type: String,
    default: '/blogAPI/upload/blog/images/2023-05-09/zbce4hi8f5.jpg'
  }
})

</script>

<style scoped>

</style>